created service layer tests and all tests are functional