Do not call next() on error in test environment.
0.8.127