Design for testability, Anti-Pattern4 -> using global state