Router with references, with test