Add tests for incorrect inputs.