Restore QUnit tests to reflect alert as default tab

This reverts the tests and amends them after the
application of commit 5da9eac08a5507eaaaa7a5ca1d8172ca61fceffd.

Luckily nothing appears to be broken.

Change-Id: I67acfe5dc74ef750d5443dd619dbb114623ee233