Organizing test.js