Tests: Improve test coverage.

Close #7428
Context suggester: infinite loop in GeolocationContextMapping

Close #7433