added test_pixel_set_to_array