All pointer arguments are now tested for NULL. json_string() now also tests that strdup() succeeds. This is to ensure that no NULL values end up in data structures. Also desribe the different sources of errors in documentation.
Now all public API functions are tested (at least on some level) in the test-api suite.
The non-stealing functions are now just simple wrappers around these.