fixed camera preview test to remove location dialog