add google test
[mac]support google test
add data owner
test buffer use google test