add unit tests for HeartbeatAnalyzer
refactor the unit tests for problem analyzer
add unit tests for StateAnalyzer
Merge pull request #164 from ainilife/biz

Two new unit tests