Added some testing for subgraphs. Removed inappropriate raise type in Edge docs.