Added an example of how to use the module.

This adds an example, which is basically just a copy of the test, but in
a more accessible location for people that don't know what lies inside
the test code.