defaultMain $
  testProperty "scope mask list roundtrip" $ do
    x <- gen . Gen.inRange $ Ran.between (0, 10000000)
    let x' = toEnum x :: Integer
    let ScM.ScopeMask y = ScM.fromList . ScM.toList $ ScM.ScopeMask x'
    unless (x' == y) $ testFailed "roundtrip failed"