add flake8 operator test