Add convenience functions to abstract test classes

Change-Id: I4b24736a45b9284a80761d6f63903bd9253b2551