Add grain testing