Test non-function passing to array.filter