add runs waitsFor for async testing of main.js