More extensive testing of Change classes.

This adds extensive tests cases for the different Change
classes. It takes special care to test the serialization
of different data structures that may be contained in
Change objects.

Change-Id: I55ec8d947ca2670b00b6e307c34cfc11c74b57f7
Merge "More extensive testing of Change classes."