Fixed a failing test, and updated the friend request code to remove rejected friends from groups.