regression framework test: test result of each iterations

@xiaoyunwu @xiang90 

This is my fix upon Xiaoyun's previous work on testing regression framework.
k. sgtm