added main.js test