added test for set array headers