Deduplicate client unit tests

Create a base class to dedup all existing unit tests for compute.
Base class can be moved if the common functionality can be used
for other clients.

Change-Id: Idf63babfccb27cd2a66b0dfd533dcb7c74ec0e32
12 files changed