test(Scope): fix tests related to logging