add function to run tests in Firefox.

capturing console.log output doesn't work yet