open graph: add open graph test code