unit test log and stats