Refactored Previous Stop logic for ScheduledBlockLocationService.
Included previous stop in ScheduledBlockLocationServiceTest.