add more timing tests, and found last commit will break eecheck struct test[not fixed]
modify rank related functions
forgot to clean the junit test, again...