Re-added try/finally in getEvents method. Updated tests. Not sure why branch coverage went down.