pts-core: Few fixes to run-random-tests
pts-core: Fix typo from previous commit