Update logstat refactoring testcase