Build a separate tests.js file