Added tests for illegal arguments