add router unittest