Fix #1260 Fix undefined test.