Integration test improvements

With this pull request, I'm pretty sure now I've fixed all the problems my git-incompetence introduced. I renamed the confusing (and sometimes accidentally shadowing) "tuf" boolean value parameter used throughout the test code to "using_tuf". This pull request also includes my changes to the extraneous dependencies and arbitrary package tests, and applies a couple of Vlad's comments on those tests to the rest of the integration tests.