TST: Test to_csv in more cases for indicies of different types