Added a few exceptions to the StatusHandler so it will pass the given unittest.