testing service hook