unit test for the service layer
Merge pull request #12 from manutarus/Issue#103

unit test for the service layer