added service hooks test