Write unit tests for new Service component