If that helps in this case with testability, I am all for it. (Although, I would be wary of overwriting constants). In general, I think following the semantic way in whatever language usually pays off in the long run in terms of at least more readable code.

Regardless, please do not let me stop you with merging this as my comment is minor.