test for location manager