fix tests, remove Flask-Testing #74
fix for python3 #74
fix test cases for python3