added tests with some checks of raising errors

when calling a ufunc with a bad number of arguments.