P25: Generate a random permutation of the elements of a list.
Rewrite P23 test using FlatSpec.