last refactoring of tests provides reason the tests are failing