set up test infrastructure