rtc: better naming and added unit test