to test the flask