Bug 845679 - Update test-agent to improve apps//test/unit/setup.js. r=julienw