Create requestRunTests function