fix asserting that an array contains specific Content-Type