Adding tests and example to git for convenience.

Thought this might be helpful in the future.