pts-core: Improvements to run-random-tests