added validate coordinate tests and implementation