adding GPS test code