Fix tests for new node-enforce

New node-enforce always makes callback to `function(errors: Error[])`,
unlike old version which would call `function(error: Error)` if only one
error was detected.
This change was made for consistency reasons, and tests needed to be
updated to reflect the change.