changed around test end events to include success, failure, or pending instead of just true/false