Various tests for data loading functions

Tracking with #16