def test_signature_on_ndarray(self):
    array = np.array([[2, 3, 5, 7],
                      [11, 13, 17, 19]],
                     dtype=np.int16)
    sd = shapes.signature(array)
    self.assertEqual(sd.shape, (2, 4))
    self.assertEqual(sd.dtype, np.int16)