Jasmine unit testing: Catching exceptions in asynchronous callbacks | Hacker News Reader