Use assert_array_almost_equal for comparing arrays in tests.