Better error description.
[#5] Added test spec for ReadDocument component.