Initialize test environment