Generate integration test for adding a friend