tests: add tests for router complex constructor