Improve tests for AbstractDataSource subclasses

These are fairly basic objects with almost no tests, and tests should be straightforward.
Shouldn't we use `get_data()` instead of the private attribute `_data`?