fixes tests with seed 56172

Fixes tests when run with seed 56172