Add simple test.
Workaround GHC 7.4 bugs.