simplify with objectContaining()