Changed the way runTests() work, and added a constant for specifying random sleep intervals