Test coordinate conversions