Add test for datasource config