add tests for edge cases
Merge pull request #5 from johnikx/missing_tests

add tests for edge cases