fix DataSourceWirterSpec unit test