Fixed cython ind construction bug. Real tests.