Fixed a bug where parameters were not reset when generating new results

Parameters were not reset since the new TestCaseParameter object were
not added to the list in InternalParameterHandler, and thus never
stored. The old parameter object was still there however, and was still
stored