Add test for DataSource-based config parsing.