Refactor more compute tests to use Instance objects

Change-Id: If501760085a2110fedb8bd5e2fd863af25bc6f8e
Merge "Refactor more compute tests to use Instance objects"