Transitions: Correct exception in unit tests

(cherry picked from commit 905478d3085ea35b5e9100dd4b7547f5d2c7d10c)

Fixes gh-7458
Flipswitch: Clean up integration tests page

(cherry picked from commit d225d19c072de11f3ba7904ba697ab3daaf061b2)

Fixes gh-7443