Added test for mailbox