I put simple function in functions.php:
function testTest() { echo "Test"; }
And called it from the page:
<?php testTest();?>