add a test for empty monitoring_datasets dict
fix bad test on empty monitoring datasets dict