Fix failing test for DataContainerBundle

Code was using the DataContainer base class which does not have some
functions implemented and will assert instead. Proper DataContainer
classes were substituted.
Fix situation with possible NULL pointer leading to program crash

The volume data container was used without adequate checking for
validity.