[client][test] fix failure tests caused by added 'target="_blank"' property

fix failure tests caused by #824.