Small improvements to RTC test to check time elapsed and if timestamp is not zero