adding test class and updated reader looking at os