Further improvements to localhost.json test env.