........S. [DEV-531] Added a way to override valuecache time() functionality for unit tests.
                     Also replaced SEC_PER_MIN with a explicit define VC_MIN_RANGE in range checks.