Integration test for preferences.