Added tests for CaseService.js

Hi Lindani,
Can you please review my tests for CaseService.js. Have covered all the functions under it.