BZ-993261 - Running all test scenarios fails in mortgages project

(cherry picked from commit 197f20928b429ebd0fd9383a58d59421b802473a)