Fix tests so that they can work with Configure extension or some other special config