Added test case for invalid argument.