Testing flask application