Various fixes

* Removed console.log from user-test
* Ability to specify additional mocha flags to run-tests.sh (for example --grep)