Add test scripts for news xpath generating.