Hapi testing