grains test