testing friends functionality