Move examples to tests as that's really what they are :)

The tests could probably be organized a bit and named more descriptively but
for now I'd just like to give us some coverage.
Merge pull request #208 from jakerr/master

Move examples to tests and add to cargo