Add unit tests for example syntax

Tests api/examples, examples, and any embedded json in readme.
For the API examples, is it required to post that to the API endpoint (i.e. are we following super strict REST rules or not)?