Test for service hook