To test service hook