Write and pass randomise_order test