Testing Shared Preferences