change the test code detects `undefined`