added test for xAt