Fixing off-by-one error on progress calculation
Adding basic test coverage