BS-11314 Add unit test on FileWidget Migration
- check assignment type is set to operator when leftOperand in empty
- check referencedElements is set when leftOperand is a Document