adding unit tests
Merge pull request #10 from mysterioustrousers/adding-tests

adding unit tests