Switch if to elif in test_frame.test_to_csv_moar._do_test