Simplify and clarify the Selenium and front end tests.

* To Selenium, simplify the tests.
* To Selenium, add better commenting.
* To Frontend tests, clarify the transition_to_secondary test names to be self explanatory.