Test of service hook