Bug 877178 - Add an exception checking method to SimpleTest, r=robcee