Working on the server get test for friendship.

This includes some changes that were worked on with wbyoung.