First I have produced a house.perl page to exchange index.php and may then add custom fields about this brand new one and also to have inside it lastest 3 posts.

On home.php page I put:

<?php echo get_post_meta($post->ID, 'test', true); ?>"/>

however it does not works cause it tries obtain the publish id and never the id from the page. Basically put 18 (id from the page) directly it really works, however i need it dinamicaly:

 <?php echo get_post_meta(18, 'test', true); ?>"/>

Which condition is not satisfied for test:

if($post->post_type == 'page'){
    echo 'This item is a page and the ID is: '.$post->ID;
}

Try:

if ($post->post_type == 'page') {
    <?php echo get_post_meta($page_id, 'test', true); ?>
}

Hope this can help :)