Extracting liquid from a test tube with a pipette