Unit tests for setting/getting registry objects in container inheritances