Fixed StringIO calls in nosql test, installing pymysql via pip on py3 testing