added test user creation and teardown to the flask tests