add tests for servece