minor tweaks to performacne regtests and added substr string regtest