gallium/osmesa: Introduce a test.