add tests for the additional code in DataContainer
update code to implement the expected behaviour
update doctrings