TST: Add regression test to check numpy.int_ inheritance on Py2/Py3

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>