Added test to verify correct handling of server prefs provided as array.