Added explicit template-haskell dependency to test.