Fix tests

I updated several test scripts to:
  1. remove flakiness, so we can know that failures are actual failures and not aberrations 
  2. fix the dependencies of each test, so that future changes to the deproxy and narwhal libraries won't break existing tests
  3. standardize practices, especially dependencies and test script invocation