Bug 887914 - Unit tests execute all top-level code before any test cases r=@jsantell