Added a base class for tests

Change-Id: I827c0b79e33e99a10fc2bc5913395b27f3467dd6
Merge "Added a base class for tests"