'Check that [keys] work, and that, like ndarray, it returns
a view, so that changing one changes the other.
Also test that one can add axes (closes #1422)'

def test_getitem_is_view(self):

    q = u.Quantity(np.arange(100.0), 'm/s')
    q_sel = q[10:20]
    q_sel[0] = (((-1.0) * u.m) / u.s)
    assert (q_sel[0] == q[10])
    q2 = q[:, np.newaxis]
    q2[(10, 0)] = (((-9) * u.m) / u.s)
    assert np.all((q2.flatten() == q))
