Added on-file and on-text test
Added examples, and running them as test
Merge pull request #35 from o-jasper/test_on_examples

Test on examples