Bug 1006997 - Consider using generated mocks in bootstrap_test.js

https://bugzilla.mozilla.org/show_bug.cgi?id=1006997