fixed preferences test