Captured bug with newtype deriving in Tests/Basic.hs.

I have not fixed the bug or yet understood all the details of it.