Add test case for no template