add tests to some corner cases
add tests for more corner cases
Merge pull request #4 from ahoy-jon/master

More tests for corner cases