Fixed unit-test for lastVisitId based processing.