Remove usage of self from mock_geolocation.js
fix review comments for tests.