Test duration custom relativeTimeThreshold