added monitor
Changed the randomization to *after* checking for satisfaction
Removed useless config and added unit test for monitor_ports