use mongoose mock to test router