Added object generators for data driven tests.

Change-Id: I147de2f9070dfa8f99abe2b2b496aea90d8a9b1c