funtional and unit tests added for FriendsTableViewController