Fix tests for change from before -> start and after -> end