New strucutre for main.js file in tests