add test script for pymysql