fixed failing tests to not rely on runtime equivalence of database performance.