Made events test monitor callback static.