Added arity test for most built-in functions