You should mock the setting in this as well and explicitly set it to false.