smarty_test