Implement the possibility to add normal c++ test cases exercising GraphicsContext API. Preferably the same tests should be enabled on all backends. Would enable testing and documenting requirements such as ones implemented in bug 227009
<rdar://problem/79613473>