Added tests to verify that the location permission dialog is working properly [no ci]