testing from templates