Fix tests on MySQL