Better DB unitests