fix test for save objects by array access