Add getInbox() tests

Change getInbox() returns Message instead of Inbox
Remove Inbox