allow to set source and destination fields in files and images pipelines, and added tests