test now checks for template file