Service unit tests