Run tests in firefox.
Fix bug causing wrapper to fail in firefox / safari.