Fix for the dispatcher test in 2.7.x