added tests.

Hi.  I like your library and I'm using it in my app.  Nice work!  I added some tests and may add more stuff in the future.

Ken