testing service hooks