Better db unitests