moved test_init_app to test_app.py