Added unit tests for Service helper