Add tests to test watchPosition method of geolocation