Updated unit test to include deleteIdleStats value of true