generating test split files into the test dir; removing on tear down