If you use two different arrays for valid filters and for invalid filters, why do you specify the expected return value for each filter separately, instead specifying it once when comparing the return value?

`equal(validFilter(...), ..., true)`