Modified CommonResourceTest.determineOptions() so it accepts multiple
headers.
Modified determineOptions() so it accepts single and multiple ALLOW
headers.