add tests
Merge pull request #4 from dwradcliffe/tests

add tests