add tests for mailbox hash extraction