Increase robustness of the ErrorTest