Adding test class for PaintingController