setting up test environments