Prevent haskell/grains test from missing overflow condition.

Set types of the values in to Integer with will remove automatic
infering to lower type and thus overflow in both tests and program.
Merge pull request #1323 from qnikst/master

Prevent haskell/grains test from missing overflow condition.