TST/BUG: change test to python instead of numexpr