dbgetdiffsbyblock: added example and test