Refactored unit tests for case services

This pull request is for case service re factored tests and the internal user check for accNo/Name fields