x, y type testing