Modified CommonResourceTest.determineOptions() so it accepts multiple
headers.