Switched testing to Flask-Testing