Beam commissioning of the SπRIT time projection chamber