Adds tests for route updating on tab switch.