Setup test environment.