adding some features to friending and tests