Unit testing support for UIAlertView and UIActionSheet