added dump() for inboxes
simplify tests code