finish unit test of MiniPaint