TST: add scalar comparison test for numpy object with ndim == 0