testing web service hooks