Added tests for x and y.