Add sync/async require tests.
Use index.js as main filename in sub dirs.