Write test code for service layer
Write test code for service layer