Switch if to elif in test_frame.test_to_csv_moar._do_test

An if-elif-else chain had an "if" where there should have been an elif.