add config test for traversal through chain of parents.
add tests for config.