Wawrinka wins testy Tsonga clash to reach semis