moved tests to a different file so I can ghc to test instead of ghci, thus avoiding the ghc bug with atomic primops linking in ghci
type error with atomic-primops repro point