Update some tests for recent Safe Haskell change.