FIX: Ensure that module replacements are only run when require()d
FIX: Ensure that module replacements are only run when require()d

Ensure the test added in the previous commit passes

boblauer/mock-require