Fix import in NDArray tests