added smarty tester