Add extra test for nested primitives