test: fix config unit tests

This should have been part of 8454898c5e2b56cb81f0c808153b5f82cfac62a4
feat(config): Allow tests be to run in a new window instead of iframe