Bug 772233: basic tests for exports.main in main.js