Unfortunately the other tests are in a class called RepositoryConfigTest.  (Historical reasons.)

I would support the idea of renaming that test class to ConfigTest, and then adding this new method to it.