Adding tests and example to git for convenience.
Merge pull request #2 from zachsitler/add-tests-and-example

Adding tests and example to git for convenience.