Added small test for getFriends() method