TST: fix assert_equal for pandas index

one assert_index_equal in formulas

was left out of PR #1887