Added get_linkedevents().
Changed \dontrun to \donttest in examples