Update unit tests for extension manager keepFile flag

See #8166
This seems fine to me. No one is going to set that value to `null`.