Add tests to test getCurrentPosition method of geolocation