tests: test init method of router