JEN-22: fix exception with empty testDuration