Fix tests for MySQL