tests for generalized template engine support in hapi