fixes from pac updates. added dynamic test of add and remove objects