SIO-1458 Make code pasting work well also in testrun submit

Change-Id: Ied4ae80df0906df177860899b02326eb9001f25f
Merge "SIO-1458 Make code pasting work well also in testrun submit"