db operation testing