haskey -> contains for a Set (fixes bug in one example)
Run the examples as tests
Merge pull request #49 from timholy/master

Add more tests