Fix failing tests due to promise-hidden exceptions and uncatchable assertions