Fixing yet another issue with assertions vs. setting df in test runs