added some unit tests
Merge pull request #140 from CloudyKangaroo/added_tests

added some unit tests