Write tests for pending and accepting friend requests