server as a var

and updated test server url