Fixing RegTest