examples: merge: check results of read/write

Reported by: shaitan@