Added read methods to sample.
Added some specs.