fixing the router test to compensate for removal of trait-based imports