Merge pull request #13 from settinghead/master

Collect metrics in test process