add test for require or define
Revert "add test for require or define"

This reverts commit dca1b83a3f1ae9b0f0e8caae3020e8c5c250a5e7.
add test for require or define