Add test for failing container creation
Large set of improvements/fixes to agent tests

- Don't use "/api/v0/..." string literals; prefer established declarations
- Don't hard-code a fixtureContainerRoot to a path that likely doesn't
  exist; prefer ioutil.TempDir + os.RemoveAll