improve smarty renderer phpunit code coverage