[PATCH 3/4] testbot: Add _CreateTestInfo() to reduce code duplication in PatchUtils.