service hooks test