Test Fix: latest test now fails when it detects an err object.
Simplify error handling in test callbacks.

The 'done' callback given by jasmine-node fails the spec if its error
parameter is non-null, so no need to manually keep a reference to the
spec object just to call spec.fail().