Add tests for QrgvStruct