tested api null object pattern for get friend list