Unit testing of Backpack class and other small changes to GeneralContainer