sync console example with wiki
Add a block test