unit test stats