try: unit tests for service class