Add Mysql Testing, NoneType check