adds success event
adds tests