Adding test cases for freemarker and perl