adding test code
update golang develop article for usage.