Tests for coordinates

You can refactor this into a loop:
```
for attr in ('x', 'y', 'z'):
    with pytest.raises(AttributeError) as err:
        getattr(icrs, attr)
    assert '...'