Add test-case for nested container creation