LPS-45561 The document's extension changed after we renamed it and it contains "." after publication
LPS-45561 Use the already produced value instead of calling the util method again
LPS-45561 Adding new test case for this issue
LPS-45561 Small refactoring to test case
LPS-45561 SF