Add unit tests for example syntax

Tests api/examples, examples, and any embedded json in readme.
I think that's the best argument I've heard - especially with label queries properly defined.  Let me split that into a separate issue #591