improve test and example for Grains

modify grains test to not expect a specific error

clean up stray comment

add test for 0 case
corrected a missing output error message in a test
Merge pull request #27 from JohnGB/improve-grains

improve test and example for Grains