changed flask installing in tests