added an exception handler for get_invitable_friends
added/updated some test cases