More work on random_test units.