tests updated for new RNG; all ML tests now pass with py2