Add tests for GadgetDefinitionContent

Change-Id: I6f5ee2168948ddfee5464e0042373eed5ad64ffb
Merge "Add tests for GadgetDefinitionContent" into RL2