Fix NDArray division, add extra division tests