In-flight testing of the injection of the LISA Pathfinder test mass into a geodesic