FIX: array index in test case manage friends