adding test for preference selection