Add more tests for invalid arguments