Fix test cases for mysql updates