Add unit test for PartContainer.