refactor stat abandon test
refactor Stat connect event