Merge "Add more tests for setProfileNetworkPreferences"