Fixed unit test build in DEBUG
CImage draw corners: also draw corner indices of 1st and last corner