Test flask application