test: more caplog (#38452)