fix test error; now generate two seperate darwin core archives: one with all data, the other with aggregate data by study