added unit test for ObsServiceTest class