Fixed test failure

At least this catches syntax errors and bad imports again.