unit tests for the different services