selenium performance: Ben's changes to make test run fast and updates to the tests to use them.

Tests are now run something like 4 - 5x faster.  Yay! Ben.