Fix minor thinks in lots of tests. Mainly compatibility problems with new version docker

Important commit https://github.com/jzupka/autotest-docker/commit/0cb718dc5fbb30f6cd902ff88224561d6c73a1c0 fixes problem with generator of names.
There is also an active bug on this test: 1106656  But Hmmm, your changes are a lot different than mine, I think they can work together actually.