These three doseq blocks exposed a bug in the metrics API. These blocks call the list-mbeans function, then get each mbean in the list.  The problem is, that this creates one more mbean for each call. When I'm at the repl and run the tests more than once, the number of mbeans grow very fast and makes the test run extremely slow. Only querying 100 mbeans avoids the problem. The ticket for the fix is [PDB-353](https://tickets.puppetlabs.com/browse/PDB-353)