-Fixing minor errors for DBManagerTest