test: fix config unit tests

This should have been part of 8454898c5e2b56cb81f0c808153b5f82cfac62a4