Fix a bug in visitForTest().