test case for statistics module

Signed-off-by: paulyang <paulyang.inf@gmail.com>