juju/juju — pull request #1011 by waigani (2014-10-31 03:55:34+00:00)
Title: Fix bug in upgrade test

oldID is converted to a string, which is different to the the bytes
version stored in the document.