**Describe the improvement you would like to see** Test for the functionality in this PR https://github.com/equinor/isar/pull/846 **How will this change existing functionality?** **How will this improvement affect the current Threat Model?**