[1.6.x] Fixed invalid testing fixture

Backport of 86f4459f9e from master