updated test to x coordinate