Changed test class and created new one.

Changed EquipmentMonitor so it runs forever. Created a new test class
EquipmentMonitorThread, which is a different way of simulating how EM
might possibly work.