modify Mysqlconn and add test for Mysqlconn