Add tests with spies for main.js