This test is now failing because setHeader is setting a value on a key-value store. Your second setHeader of "Allow" is overwriting the first. Same with your second setting of "DAV".  You need to concatenate those two arrays you've defined as allow_1 and allow_2 and dav_1 and dav_2.

That got this test passing for me again locally.