WebReaderAlgo logic updated, new tests added