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.