unit test setup & service tests