backport #4f0f1b5 into 3-2-stable. because 1.9.3-p362 warned unused vari...

backport 4f0f1b5.

1.9.3-p362 warned unused variables. this test failed because of this warning.