Fix test scripts

not greedy matches text enclosed with quotes.