write test for pending friendships.