added image pixel read/write test