IDE-1309

Finished Junit tests for all the services in IDE-1289.