Add function to get size of a partition
More test for get
Switch from reference to pointers (makes it easier to copy groups/entities)
Fix serial tests