According to your original spec the testing should be in a separate class called TestClock so:
public class TestClock {
public static void main(String[] args) {
ClockRx clock = new ClockRx();
// now you can call methods in the ClockRx class. for example
// print details of clock
System.out.println(clock);
// tick the clock
clock.tick();
// print the current month name of clock
System.out.println(clock.getMonthName());
// call any other methods that you want to call
}
}