Shuffle algorithm test