set up test environment