Refactor some common code from GoogleKeymaster tests.

Change-Id: I89311e1ab2aa2abdbbf17952df8d48e7910a61ad
1 file changed