Tech Debt: Refactor test for throwUnmocked setting