Testing on_draw method.