added tests for execution of SQL against datasource