Add thread average note field (issue #2)

Update unit test