fix(examples): update examples with more tests

Add an example of dealing with lists to the example tests, and fix
the example mocha tests. Closes #192.