keep name after DataFrame drop, add check_name to assert_dataframe_equal

This should fix #2939. (redo of pull-request #2961, which I screwed up).