friendship methods and tests