Fix trivial warnings (unused variables) in Statistics unit test.