Test agent reloads on build completion
Added hack to make mocha work in IE