Added test to config.finder tests and replaced loop with recursion.