Add expectAssertion method to test uncatchable assertions