Changed wrong use of allOf() matcher into two separate assertions