Test service hooks