Test invalid arguments.

See #232.