fix tests to dbwrapper removal