Refactor inbox test

Signed-off-by: Max Brunsfeld <mbrunsfeld@pivotallabs.com>