added test for setHungry