Added validations and tests for it
Merge pull request #6 from xsimov/testing

Added validations and tests for it