Merge pull request #103 from latinovic/master
Fix rb.test to avoid overwriting memory during reading.