Put corrl_test into fn_RandomBed & small changes