add statistics test and init Config in tests