Ignore extra slashes; added cli argument support to test script;