Refactor the test script.
Add a small driver for the d2::detail::hawick_circuits algorithm.
Tweak the test script some more.