Add test for configuration passing