edit demo 4 shape usage
add shape referance
edit tests 4 shape usage
fix getRect bug
fix demo bug
sperate log method