improve TestShuffleMethod