Created JUNIT test for the web-services using DB mock object

Added all the necessary JUNIT test cases. Yet to implement JMETER.