refactored GPSService added tests to MainAcrtivity