Add comment per review.
make tests more strict.
also support numpy.integer