Get rid of RegTest()

Dependent on #3819 #3820 #3821 #3822 #3823