Modified and added tests for case services

Hey Lindani,
Have modified my tests to improve the code coverage. Also added some more. Please review.
We also need to test the path for when the user is not logged in. I sent you an email with details on how to mock the log in event.