Add a way_with_nodes factory, and use it in the way_controller tests.