Test Flask application