test for the bug of navigating