t4024: fix test script to use simpler sed pattern