Added test for extended R subgraph