fixes broken user preferences test