message handling tests for user, mock socket not actually useful