Statistics fixes for the tool shed's install and test framework.