Add seed to random.

Hopefully should fix those flickering tests.
New OpenStruct syntax no worky on older Rubys

cc @tooky