Fix main.spec.js stubs