fix 'xValueToDom' and 'yValueToDom' tests.