add new test and method add_array_points