Update domino to 1.0.12; add test cases for adoption bugs which this fixes.

Change-Id: I194167f3c0621394ab4fb40e242711ccb86615ae
Merge "Update domino to 1.0.12; add test cases for adoption bugs which this fixes."