Add ExpectAssertionErrorWhichIsNotThrown test.