Better database testing