Refs #9378.  Avoided a unit test error on Mac only.

It might come from the different pseudo random number sequence from
different C++ compiler.