Test service hook