add router unit tests