fix retest behavior
Merge pull request #20 from keyvanfatehi/19_fix_retest

fix retest behavior