Test code 'MailboxProcessor with exception handling'