Reactive Agent Testing