Fixed a bug when multiple files are used to load the test data.