Add test to verify that hashchange events trigger routing.