Currently we only test converting Open graphs to (OpenGraph.to_pattern()) and from (OpenGraph.from_pattern()) patterns with a couple of handcrafted examples in tests/test_opengraph.py.
It would instead be more robust to test these methods on many randomly generated graphs and patterns (by modifying random_objects.py with random open graph generation), and check the results against a simulator.