got all the tests passing again with db interface