MAINT: Refactored unit testing for PaintingWindow.
FIX: added testing stub for PaintingWindow events.