Created service layer and tests however test is failing complaining abot a null pointer