fix failing test
small matrix becomes the same after shuffling
Merge pull request #951 from apavlenko:fix_java_test_randshuffle