Still trying to fix unit test issue with application context. Deciding whether or not to use Flask-Testing extension and figuring out how it should work