integration test for adding a friend