is it necessary to spy on this? Isn't it easier to check that the stored value is what you expect (since we're using the real Threads object) ?