added test for the gather food logic