fix tests and add db-util to the test dependencies