#3 Refactoring of MonitorResponse and addition of unit test for the same