Fixing tests for MySQL