Root index.js is only used for local development, so assuming dev mode there is fine. This way we do not have to worry about calling setUnderTest early enough.