Update random-test.r

This works on Windows