Added more tests to test erroneus templates