added preference tests