Fix for test that is broken. Need to spy if the plan is to use verify()