setting up test environment