RTC test code added