fix test according to root user check (see c91db22aec)