adding tests

lets start adding in some tests, so
we can actually build this into a
useable library