print success message when pass
change out.print to log
Merge pull request #2 from hewenxin10087558/success-info-enchancement

closes #1