Test getPixel()