Testing if logger is called

logger.error should be called when BrowserIDException is raised