Merge pull request #2 from naylor-b/vtree_bug

new test for replace