Add test for GenericStackable class