Added test for a whole document replacement patch

- Discovered python-json-patch had a problem with this scenario and
  other implentations might as well