added AlertHandlerTestCase, should re-enable tests and make them pass. related to #13