Fix MonteCarlo statistics and add test. Closes #765.
Fix test name.