Update tests/index.js to run regression