nial: major bugfix in test runner (breaking many tests)