Add assertFail() for ensuring an expected failure is reached.