fix SeriesLoader data type handling; add data type assertions to tests