added further tests to flask_tests.py