Fix peak fitting tool open close test