Setup test environment