Convert some tests to new config API and use only one segment by default in REPL mode
ISPN-2772 WIP