Add convenience method on test case.