Re-write for jasmine2's event-driven style. Works with jasmine#575 for totalCount and passedCount, if available