working template tests