Update main.js

Added output for each test