They willfully tested God by demanding the food they craved.
And they tried God in their heart by asking food for their craving.