Add tests to verify method argument validation
Merge pull request #4 from aslakknutsen/validation_test

Add tests to verify method argument validation