tests for replace ops in nested structures
tests for remove ops in nested structures