fix test crash in debugmode.

it was triing the Image2Neibs.perform method for GpuImage2Neibs.