calling flashmessenger by using getHelper, fixes phpunit error
replaced $this->_helper->FlashMessenger() by  $this->_helper->getHelper('FlashMessenger')