Fixing the tests in MySQL