added reset function to modify fire to resume to constructor state and implemented cpp of CheckSameMinimum test