SONAR-4147 Refactored UT to not depends on System.currentTimeMillis()