Added api to DAASClient and added test cases too