added testPaint