Smarty PHPunit test