Test for opts.require