tests for Reader