Add the gpx file use to test function.

Add finally comments to methods.