clean up test assertion text