this fails on Mac since there preferences are under Eclipse > Preferences ..., see [1] how to fix that.

[1] http://egit.eclipse.org/r/#patch,unified,1520,2,org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/prefpages/configuration/GlobalConfigurationPageTest.java