unit test for PositionController::getErrorFlashMessage added
return false for empty error flash message
unit test for PositionController::getErrorFlashMessage added