added getInbox tests