add tests to make sure config carries over on nested objects