Bug 859372 - Refactor testactors.js;r=past