Migrate tests to use node.spi.ImmutableNodes