Test case for before filter with invalid arity.