(Same suggestion to use test/utils.js makeStubMethod)