Added statementCountTestDelay to add delay between recording test statements and querying for them