deleted unreachable code
increase test coverate in reader
improve test coverage by creating plain reader