test for fixing the bug with updating done lines