Add tests to verify method argument validation

As you wish.. :)