add rtc function declaration
modify the rtc test function