added passing wd instance to TestRun and overwriting browser setting whe...

...n using as node module