State to test plan to tax miles driven