router: add some tests