Tests: Accommodate page changes from the QUnit HTML reporter

Ref 6748ba349650353c7bed6eec201a3192f6b2cae1

(cherry picked from commit 3c13f4c6297566a71102c2362347987f6d6a636e)
Tests: Tilt at a few style guide windmills

Ref 3c13f4c6297566a71102c2362347987f6d6a636e

(cherry picked from commit 906caebb3f3bc542904a94846e778aa8d71c0575)