add some unit tests for DrawOnView
Merge pull request #2 from vwmattr/draw-center-point

add some unit tests for DrawOnView