data source test cleaning