unify param.require tests
Merge pull request #13819 from arthurnn/one_require_test

unify param.require tests