Fix tests on Hapi 8