Improved testing of Monitor update_stats().