[tests] Fix a trivial consistency issue in a test case.