Mysql test improvements