test servicehook