added more unit tests
Merge pull request #189 from vnitinv/unit-tests

added more unit tests