sets up a test on grains