Wired sync.js to the tests