added test method for generating gps data