Clean up build warning.
Add support for specifying # of randomized test runs to perform from the command line, to be able to do fast and slow test runs separately with buildbot.