Testing Flask framework