Added test for _add_pixel()