unit test for Fridge class