Added base test class.
Added base functionality for the reader.