change assertions to xpath