Fix mysql tests