Update test.js

updating code so we accept a command line argument that is the test url