Fixes Bug 1032030, integration test, build/test/integration/build.test.js r=yurenju

@yurenju