added a test for flask