Test cases for MySQL bugs