Fixed a bug when loading test parameters.