Fix tests for mysql