Test for argument errors for out-of-bounds arguments.