Added option to test a pipeline to specify the character encoding of the
uploaded files