moved template file tests