Add tests for finding templates