Transitions: Correct exception in unit tests

Fixes gh-7458
Flipswitch: Clean up integration tests page

Fixes gh-7443