Added datasource query test.