Finished unittest for pymysql_utils.py