GrayImage test working