add some testcases from base and ghc-prim packages