The dates stored are in second accuracy. This caused erroneous test condition. Fix here by just pushing the test time by 5 seconds