Added test for getDefaultFormatter
Pass $record['formatted'] as the user parameter for zend monitor. Refactored test.