First test of a beam transport system from a laser wakefield accelerator to a transverse gradient undulator