added test bench for pixel_gen