New unit tests for JSON editing facilities