working on unit tests for services