Fridge class refactory, unit test for Fridge, bug fix