fix chapter10 tests yet again