Testing servicehooks