test render template in integration test