added tests around user inbox