'Checks that giving a kernel specifier instead of a body name works'

@remote_data
@pytest.mark.skipif(u'not    HAS_JPLEPHEM')
@pytest.mark.parametrize(u'bodyname', (u'mercury', u'jupiter'))
def test_custom_kernel_spec_body(self, bodyname):

    coord_by_name = get_body(bodyname, self.t, ephemeris=u'de432s')
    kspec = BODY_NAME_TO_KERNEL_SPEC[bodyname]
    coord_by_kspec = get_body(kspec, self.t, ephemeris=u'de432s')
    assert_quantity_allclose(coord_by_name.ra, coord_by_kspec.ra)
    assert_quantity_allclose(coord_by_name.dec, coord_by_kspec.dec)
    assert_quantity_allclose(coord_by_name.distance, coord_by_kspec.distance)
