Update the preferences test

The account preferences test is deprecated and needs to be replaced with an updated preferences test.