cd rest client test case refactored,unnecessary content removed from dbcontext