split data files so that there is a single dataset for a test, fixed a bug with test indexes