Test for Preferences Initialization bug