added code and tests to delete friendships