add test where variable is used in xpath