Add generative round-trip test
Make a generative round-trip test that gens things we expect to round-trip, then does write/read/compare.
Applied and made some updates to the deps to accommodate test.check. I also needed to make some modifications on the CI setup but it is working in CI now as well. One change I made was to set the :gen-max on array size to 12; otherwise I was hitting OOMEs in the CI box (was working locally) where memory is a bit more constrained.
The attached patch 0001-DJSON-45-Add-generative-round-trip-test.patch is a first shot at this.
It catches all the errors that were previously introduced, but I’d like advice on how to incorporate the generative testing into the project, ie we now have a dep on test.check which would need to be declared in the pom.xml if this test is to run using mvn.