fixed implementation error in MockRouter