fixing xpath tests