maybe I should remove this code but at minimum I will add a better comment...

The purpose here was so I could see what error mocha would show (since mocha does some processing on the final error). To do that I actually had to fail the test. A better way to write this would be to invoke a separate mocha process and verify the output externally but I got lazy here.