added tests for datasources