Merge pull request #314 from aguibert/test-doc-examples

Add tests for examples shown in JSON-B documentation