Added more tests including negative tests.
Merge pull request #2 from vadim-kovalyov/master

Added more tests including negative tests.