moved gen-testcases.hs up preparatory to haskell testing