[TEST] fix random preference string test to accomodate for the new more strict preference type