Updated rotary_test to be a more useful diagnostic tool.