Make serialization tests work on packagebots

BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/824953002