The electrons (negative, blue, charges) will move in response to the electric field lines, going towards the test charge.  This leaves an excess of positive charge on the cylinder’s far side.