Added unit tests. Just update mailbox.settings to run.