wrote tests for areFriends