If unit tests fail for you, that is usually a bug in unit tests. Jenkins
runs them on a clean new MediaWiki installation with all default
settings every time, so there could be issues where the tests depend on
e.g. the wiki content language being English, timezone being UTC, or
some specific page title not existing. If you run into something like
this, please file a task about it.
--
Bartosz Dziewoński