So the new test code is quite different to the original test code given in the issue description!
In future, please don’t submit code here that you've never actually run yourself.
Anyway, the problem is fixed in H6, and this issue can be closed.