Refactored Insert, Delete and Update using QB.
Added tests.
Refactored tests and methods.