tests : refactor test-backend-sampler (#18753)
* tests : use "auto", use std::string
* tests : refactor test-backend-sampler.cpp
* cmake : remove redundant declarations
* ci : use smaller model
* tests : add struct test_params
* tests : reduce logit bias 100.0f -> 10.0f