Auto router and tests