fix workdir, hostname tests and a bunch on mount issue