getFromDb function implemented
QueryDataSet integrated
Update test scenarios for getFromDb function